package com.liuguang.testassert.congfig;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @ClassName: MyConfigurationProperties
 * @Description：
 * @Author: wanghr
 * Date: 8:59 AM 2020/6/29
 * Version: 1.0
 */
@Component
@ConfigurationProperties(prefix = "myremote")
@Setter
@Getter
public class MyConfigurationProperties {
    private String name;
    private String url;
}
